package com.chixing.entity;

public class Department {
    private int DeptNo;
    private String DeptName;
    private String loc;
    public Department(){}
    public Department(int DeptNo, String DeptName, String loc)
    {
        this.DeptNo = DeptNo;
        this.DeptName = DeptName;
        this.loc = loc;
    }

    public int getDeptNo() {
        return DeptNo;
    }

    public void setDeptNo(int deptNo) {
        DeptNo = deptNo;
    }

    public String getDeptName() {
        return DeptName;
    }

    public void setDeptName(String deptName) {
        DeptName = deptName;
    }

    public String getLoc() {
        return loc;
    }

    public void setLoc(String loc) {
        this.loc = loc;
    }

    @Override
    public String toString() {
        return "Department{" +
                "DeptNo=" + DeptNo +
                ", DeptName='" + DeptName + '\'' +
                ", loc='" + loc + '\'' +
                '}';
    }
}
